#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;

template<class T>
class stack
{
public:
	stack(int capacity = 4);
	/*~stack();*/
	//...
private:
	T* _str;
	size_t _size;
	size_t _capacity;
};

template<class T>
stack<T>::stack(int capacity)
	:_size(0)
	, _capacity(capacity)
{
	_str = new T[capacity];
}